package com.hisense.hiioc.hismartplate.mapper;

import com.hisense.hiioc.hismartplate.entity.table.ClientSearchEntity;
import com.hisense.hiioc.hismartplate.entity.table.FaceEventEntity;
import com.hisense.hiioc.hismartplate.entity.table.query.FaceIdRangeQuery;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @Author: almo
 * @Date: 2018/12/11 上午9:06
 * @Version 1.0
 */
public interface ClientSearchUrlMapper extends Mapper<ClientSearchEntity> {
    int insertClientSearchUrl(ClientSearchEntity entity);

    List<ClientSearchEntity> getClientEventByTimeRange(FaceEventEntity entity);

    int updateClientEventFaceId(FaceIdRangeQuery query);

    ClientSearchEntity getClientEventHistoryById(FaceEventEntity entity);
}
